package com.briup.srms.sms.service;

import java.util.List;

import com.briup.srms.sms.bean.DormitoryType;
import com.briup.srms.sms.bean.extend.DormitoryTypeExtend;
import com.jacky.base.utils.CustomerException;

public interface IDormitoryTypeService {
	
	List<DormitoryType> findAll();
	
	List<DormitoryTypeExtend> findAllWidthPhoto();
	
	void saveOrUpdate(DormitoryType type) throws CustomerException;
	
	void deleteById(long id) throws CustomerException;

	DormitoryTypeExtend findById(long id);
}
